// libdmail.cpp : ¶¨Òå¿ØÖÆÌ¨Ó¦ÓÃ³ÌÐòµÄÈë¿Úµã¡£
//

#include "stdafx.h"
#include "ESMTPClient.h"
#include "POP3Client.h"

using namespace libdmail;

int _tmain(int argc, _TCHAR* argv[])
{
	//Mail mail("c:\\Test.eml");

	//ESMTPClient client;

	//client.sendMail("mail.300.cn", 25, &mail);
  
	POP3Client pop3Client;

	// POP, Port, User, Pass
  //pop3Client.getMailFromPOP3("mail.300.cn", "110", "dengdongdong@300.cn", "123456");
  pop3Client.getMailFromPOP3("pop.qq.com", "110", "dongdongdeng@qq.com", "123456");
	
	return 0;
}

